package com.neuedu.config.controller;

import com.neuedu.config.configuration.AppConfig;
import com.neuedu.config.configuration.YmlConfig;
import com.neuedu.config.service.UserService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloConfigController {
    Logger logger = LoggerFactory.getLogger(HelloConfigController.class);


    /**
     * http://127.0.0.1/index
     * @return
     */
    @RequestMapping("/index")
    String hello(){
        logger.info("访问RestController");

        return "index";
    }

}
